﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class FunnelBottom : MonoBehaviour
{
    [HideInInspector]
    public bool OnWall1;
    [HideInInspector]
    public bool OnWall2;
    private void OnTriggerExit(Collider other)
    {
        if (other.name == "beaker_wall1")
        {
            OnWall1 = false;
        }

        if (other.name == "beaker_wall2")
        {
            OnWall2 = false;
        }
    }

    private void OnTriggerEnter(Collider other)
    {
        if (other.name == "beaker_wall1")
        {
            OnWall1 = true;
        }

        if (other.name == "beaker_wall2")
        {
            OnWall2 = true;
        }
    }
}
